.\"   $Id: viewphseg.3,v 1.1 2002/03/08 13:51:04 fred Exp $
.\" @(#)viewphseg.2 2.11 91/08/22 ; Labo masi cao-vlsi; Author : Frederic Petrot
.if t \{\
.so man1/alc_contents.mac
.XS \n%
.ti 0.2i
viewphseg
.XE
.XS0 \n%
.ti 0.2i
viewphseg
.XE0 \}
.TH VIEWPHSEG 3 "October 1, 1997" "ASIM/LIP6" "MBK PHYSICAL FUNCTIONS"
.SH NAME
viewphseg \- display elements of a \fBphseg_list\fP
.so man1/alc_origin.1
.SH SYNOPSIS
.nf
.if n \{\
.ft B \}
.if t \{\
.ft CR \}
#include "mph.h"
void viewphseg(pt)
phseg_list \(**pt;
.ft R
.fi
.SH PARAMETER
.TP 20
\fIpt\fP
Pointer to the \fBphseg\fP to be scanned
.SH DESCRIPTION
\fBviewphseg\fP scans all the primary elements of the \fBphseg_list\fP 
pointed to by \fIpt\fP, and displays a textual output of the data strcuture
contents.
.br
Its use is mostly for debugging purposes, and educational ones, since the
output is quite verbose, even if very easy to understand.
.SH EXAMPLE
.ta 3n 6n 9n 12n 15n 18n 21n
.nf
.if n \{\
.ft B \}
.if t \{\
.ft CR \}
#include <stdio.h>
#include "mph.h"
void view_seg(ptfig)
phfig_list \(**ptfig;
{
phseg_list \(**seg;
	for (seg = ptfig\->PHSEG; seg; seg = seg\->NEXT)
		viewphseg(seg);
}
.ft R
.fi
.SH SEE ALSO
.BR mbk (1),
.BR phseg (3),
.BR viewph (3),
.BR viewphfig (3),
.BR viewphins (3),
.BR viewphref (3),
.BR viewphvia (3),
.BR viewphcon (3).


.so man1/alc_bug_report.1

